REPLY

Syntax: REPLY [([#wind,] keys$)]
Location: BTool

The function REPLY reads a character from the keyboard (with the text cursor in a window enabled). If keys$ was specified, then REPLY will only stop if the presed key was listed in keys$. The return of REPLY is the position of the pressed key in keys$.

REPLY behaves very differently if there is no keys$ supplied. The return will be the code of the pressed key, just like CODE(INKEY$(-1)) except that combinations of <ALT> and any other key are recognised - if <ALT> was held and any other key pressed, REPLY returns 256 minus the code of that key.

CROSS-REFERENCE:
ASK, INKEY$
See CODE also.
